package com.lc.index.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lc.index.domain.Orders;

/**
 * 存储订单基本信息Mapper接口
 * 
 * @author autoGen
 * @date 2025-03-12
 */
public interface OrdersMapper extends BaseMapper<Orders>
{
    /**
     * 根据用户id获取订单信息
     * @param userId
     * @return
     */
    Orders getOrdersByUserId(Integer userId);
}
